package com.akk.module.avs.mapper;

import com.akk.module.avs.entity.AvsYbLoanType;
import com.akk.module.avs.entity.AvsYbLoanTypeExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AvsYbLoanTypeMapper {
    int countByExample(AvsYbLoanTypeExample example);

    int deleteByExample(AvsYbLoanTypeExample example);

    int deleteByPrimaryKey(Long loanTypeId);

    int insert(AvsYbLoanType record);

    int insertSelective(AvsYbLoanType record);

    List<AvsYbLoanType> selectByExample(AvsYbLoanTypeExample example);

    AvsYbLoanType selectByPrimaryKey(Long loanTypeId);

    int updateByExampleSelective(@Param("record") AvsYbLoanType record, @Param("example") AvsYbLoanTypeExample example);

    int updateByExample(@Param("record") AvsYbLoanType record, @Param("example") AvsYbLoanTypeExample example);

    int updateByPrimaryKeySelective(AvsYbLoanType record);

    int updateByPrimaryKey(AvsYbLoanType record);
}